﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QLTH_DTO;
using QLTH_DATASSECC;
using System.Data;

namespace QLTH_BUSINESS
{
  public class clsTCMBU
    {
      private readonly clsTCMDA tcmDA;
      public clsTCMBU()
      {
          tcmDA = new clsTCMDA();
      }
      public DataTable DanhSachTCM()
      {
          return tcmDA.DanhSachTCM();
      }
      public string Laymatcm(string _dk)
      {
          return tcmDA.Laymatcm(_dk);
      }

      public int ThemTCM(clsTCMDTO tcmdto)
      {
          return tcmDA.ThemTCM(tcmdto);
      }

      public int CapNhatTCM(clsTCMDTO tcmdto)
      {
          return tcmDA.CapNhatTCM(tcmdto);
      }

      public int XoaTCM(clsTCMDTO tcmdto)
      {
          return tcmDA.XoaTCM(tcmdto);
      }

      public string macuoi()
      {
          return tcmDA.macuoi();
      }
    }
}
